
figure {
	margin: 0;
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	float:left;
	max-width: 130px;
	max-height: 130px;
}

figure img {
	display: inline;
	width: 100%;
	height: auto;
}

figcaption {
	padding: 0.5em;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	border-radius: 2em;
	position: absolute;
	bottom: -5em;
	right: 10px;
	transition: all 200ms ease-out;
	transform: rotate(-30deg);
	transform-origin: right center;
	font-size: 14px;
	font-family:"B Nazanin";
}

figure:hover figcaption {
	bottom: 10px;
	transform: rotate(0);
}
figure:before { 
  content: "+"; 
  position: absolute; 
  font-weight: 800; 
  background: rgba(255,255,255,0.75); 
  text-shadow: 0 0 5px white;
  color: black;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:         12px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  -moz-transition: all 0.6s ease;
  opacity: 0.75;
  right: 10px;
  bottom: 10px;
}
figure:hover:before {
  opacity: 0;
}
.container-figcaption{
	display: inline-grid;
	grid-template-columns: repeat(6, 1fr);
	direction: rtl;
	grid-gap: 3px;
}
.main-figcaption{
	max-width: 70%;
	margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  figcaption {
    font-size: 10px;
	 right: 4px;
  }
	 figure:before {
		right: 5px;
		bottom: 5px;
	}
	figure:hover figcaption {
	bottom: 5px;
	}
	.main-figcaption{
		margin-right: 40px;
	}
}
@media only screen and (max-width: 320px) {
  figcaption {
    font-size: 8px;
  }
 figure:before {
		right: 5px;
		bottom: 5px;
	} 
	figure:hover figcaption {
	bottom: 5px;
	}
}